<style>
body{
	background: url('/img/bg.jpg') no-repeat;
}
</style>
	<div class="row">
		<div class="fourcol"></div>
		<div class="fourcol">
			<div class="box red first rounded">
				<div class="outer_wrapper">
					<div class="wrapper">
						<img style="display: block; width: 100%; margin: 0 auto" src="<?php echo URL?>img/logo.png" alt="Efteling" />
				    </div><!-- wrapper -->
			    </div><!-- outer_wrapper -->
			</div><!-- box -->
			
			<div class="box red rounded margin-top">
				<div class="outer_wrapper">
					<div class="wrapper" style="overflow:hidden">
					 <?php 
				        $chip = new Chip();
				        $chip = $chip->get(Session::get('chip_id'));
				       ?>
						<h2 style="float: left; margin: 16px;">Saldo &euro; <?php echo $chip->credit ?>,-</h2>
						<?php if($chip->super_user == 1): ?>
							<button id="beheren" style="float: right" class="small margin-top margin-right margin-bottom">Beheren</button>
							<script>
							$('#beheren').click(function(){
								window.location = '<?php echo URL?>/saldo';
							})
							</script>
						<?php endif ?>	
				    </div><!-- wrapper -->
			    </div><!-- outer_wrapper -->
			</div><!-- box -->
			
			<div id="nav" class="box red margin-top rounded">
				<div class="outer_wrapper">
					<div class="wrapper">
				        <h2><a href="<?php echo URL?>plattegrond">Plattegrond</a></h2>
				        <h2><a href="<?php echo URL?>berichten">Berichten</a></h2>
				        <h2><a href="<?php echo URL?>attracties">Attracties</a></h2>
				        <h2><a href="<?php echo URL?>fotoservice">Fotoservice</a></h2>
				        <h2><a href="<?php echo URL?>uitloggen">Uitloggen</a></h2>
				    </div><!-- wrapper -->
			    </div><!-- outer_wrapper -->
			</div><!-- box -->
		</div>
		<div class="fourcol last"></div>
	</div>	